home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-in_the_mag-
/
basics
/
amos
/
ph_progs.lha
/
PH_PROGS.AMOS
/
readme
< prev
Wrap
Text File
|
1993-06-02
|
3KB
|
94 lines
In this archive are 5 AMOS programs, all written by me (Paul Hickman - NO
relation to Peter). Feel free to copy / modify / distribute / include in your
own programs, but please acknowledge where you got them.
Also, I`d love to hear suggestions (or see examples) of improvements, comments
and bug fixes (I hope these won't be necessary). All have only been tested on
standard AMOS version 1.36
File_Copy.acc
How often are you running AMOS from floppy, with no workbench, and
your suddenly find you need to copy a file to your boot disk to get
your programs to work?
The short accessory provides a simple no frills file-copier. I
understand that this is defaunt in AMOS PRO, as you get a SID/
DIR Works style disk manager.
Mask_Modify.AMOS
Probably the most usefull program, this is a procedure to change
the colour that is transparent on bobs. You can either
- Choose any one colour that is transparent instead of
colour 0.
- Choose any one colour that is the only colour visible
(All others being transparent)
- Make no colours transparent (Similar to No Mask), but
do not leave a strip of colour 0 to the right of the
image if it's width is not a multiple of 16.
All these changes leave your bobs totally compatible with all
AMOS commands, as it's only the mask bitmap that is modified.
Pixel_Tools.AMOS
This program contains four routines providing mosaic style effects.
To get the idea, run the program - It requires a picture from the
AMOS data disk for the example, but you can use any 16 colour IFF
Picture if you don't have this one.
Pixel Write : Makes a string appear a pixel at a time in a semi-
Random order, storing the background.
Pixel Clear : Replace the background from the last pixel write in
the same mosaic style
Pixel Copy : Similar to screen copy, but copies the area in small
blocks of a specied size, with a mosaic pattern
Pixel Blank : Clears the area of the screen given in a mosiac
style
If you have AMOS Turbo extension, you can use F plot and F point to
speed up Pixel Write & Pixel Clear, by replacing the plot and point
instructions with them
Poly_Landscape.AMOS
A simple example of a light source shaded background (Midwinter style)
generated with the polygon command. It's fairly slow, unless compiled
Quick_Compiler.AMOS
For those who a developing, thus repeatedly compiling the same program.
replaces 50K of Compiler.AMOS with 1.7K. (Although you lose the ability
to crunch programs, I prefer to use Powerpacker, so virus checkers can
decrunch & check the programs)
Erm.. A slight bug here, I've left the name of the last program I
compiled in S$ and D$ at the start of the program - please replace
them with
s$=""
d$=""
Otherwise you won't get any file requesters!
+-------------------------+------------------------------------+
| | _____ |
| PAUL HICKMAN | / \ ON A HOT SUMMER NIGHT |
| (ph@doc.ic.ac.uk) | / O O \ WOULD YOU OFFER YOUR |
| DEPARTMENT OF COMPUTING | | _ | THROAT TO THE WOLF |
| IMPERIAL COLLEGE LONDON | \ / \ / WITH THE RED ROSES ? |
| | \_____/ |
+-------------------------+------------------------------------+
Machine A500 WB1.3 - 1mb Memory - External Disk Drive.